package com.boot.mapper;

import com.boot.entity.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DeptMapper {

    @Select("select * from dept")
    List<Dept> findDept();
}
